//
//  ViewController.swift
//  SwiftImprove
//
//  Created by leon on 2018/4/10.
//  Copyright © 2018年 com.leon. All rights reserved.
//

import UIKit

class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        let alertView = DLAlertView()
        alertView.frame = CGRect(x: 0, y: 0, width: 200, height: 200)
        alertView.center = self.view.center
        
        self.view.addSubview(alertView)

    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }


}

